<?php
if(!defined('PATH')) exit();
?>
<form action="<?=PATH?>/houses/list/" method="post">
<table border="0" cellpadding="8" cellspacing="1" width="100%">
	<tr class="head"><td>Town</td><td>Status</td><td>Order</td></tr>
	<tr>
		<td rowspan="2" style="vertical-align: top;">
<?php
foreach ($this->config['server']['towns'] as $key => $value) {
?>
			<input type="radio" name="town" value="<?=$key?>" class="radio"/> <?=$value?><br/>
<?php
}
?>
		</td>
		<td style="vertical-align: top;">
			<input type="radio" name="status" value="1" class="radio"/> all states<br/>
			<input type="radio" name="status" value="2" class="radio"/> empty<br/>
			<input type="radio" name="status" value="3" class="radio"/> rented<br/>
		</td>
		<td rowspan="2" style="vertical-align: top;">
			<input type="radio" name="order" value="1" class="radio"/> by name<br/>
			<input type="radio" name="order" value="2" class="radio"/> by size<br/>
			<input type="radio" name="order" value="3" class="radio"/> by rent<br/>
		</td>
	</tr>
	<tr>
		<td>
			<input type="radio" name="type" value="1" class="radio"/> houses and flats<br/>
			<input type="radio" name="type" value="2" class="radio"/> guildhalls<br/>
		</td>
	</tr>
	<tr><td colspan="3"><input type="submit" value="Submit" /></td></tr>
</table>
</form>